package com.wolfeyes.system.service;

import com.wolfeyes.system.domain.SysResource;

import java.util.List;

/**
 * @see Talk is cheap, Show me the code. -- Linus Torvalds
 * @title 系统资源信息服务层-接口
 * @author yanyljava
 * @create 2022-01-13 22:53
 */
public interface SysResourceService {
	
    List<SysResource> findAll();

    List<SysResource> findWithChildren();

    List<SysResource> findAllWithAllChildren();

    SysResource findById(Long id);

    int add(SysResource sysResource);

    int update(SysResource sysResource);

    int delete(Long[] ids);
    
}
